package com.beagle.njddapp.bean.owner;

import com.beagle.njddapp.net.BaseResponseBean;

/**
 * @author hxx
 * @date 2021-03-21 11:37
 * 农机主-加油订单
 */
public class OilOrderBean  implements BaseResponseBean {


    /**
     * orderId : 119
     * meshId : 2
     * meshNum : 鄂A 8828381
     * meshType : 10003
     * orderNum : JY20210326140452119
     * senderName : 测试
     * senderPhone : 13080010002
     * sendTime : 2021-03-26 14:04:48.964001
     * meshAddress : null
     * meshLocation : {"id":null,"type":null,"longitude":120.096259,"latitude":30.286505,"runStatus":null}
     * expectMeter : null
     * orderState : waiting
     * cancelTime : null
     * takeTime : null
     * takerCarNum : null
     * takerUserId : null
     * takerUserName : null
     * takerPhone : null
     * arriveTime : null
     * meter : null
     * amount : null
     * finishTime : null
     * payed : false
     * payTime : null
     * paymentType : null
     */

    private long orderId;
    private long meshId;
    private String meshNum;
    private String meshType;
    private String orderNum;
    private String senderName;
    private String senderPhone;
    private String sendTime;
    private String meshAddress;
//    private MeshLocationBean meshLocation;
    private String expectMeter;
    private String orderState;
    private String cancelTime;
    private String takeTime;
    private String takerCarNum;
    private String takerUserId;
    private String takerUserName;
    private String takerPhone;
    private String arriveTime;
    private double meter;
    private String amount;
    private String finishTime;
    private boolean payed;
    private String payTime;
    private String paymentTypeName;
    private int paymentType;
    private int waitingCount;
    private int voteRate;
    private String meshLongitude;
    private String meshLatitude;
    private String expectArriveTime;
    private String totalAmount;

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getExpectArriveTime() {
        return expectArriveTime;
    }

    public void setExpectArriveTime(String expectArriveTime) {
        this.expectArriveTime = expectArriveTime;
    }

    public String getMeshLongitude() {
        return meshLongitude;
    }

    public void setMeshLongitude(String meshLongitude) {
        this.meshLongitude = meshLongitude;
    }

    public String getMeshLatitude() {
        return meshLatitude;
    }

    public void setMeshLatitude(String meshLatitude) {
        this.meshLatitude = meshLatitude;
    }

    public int getVoteRate() {
        return voteRate;
    }

    public void setVoteRate(int voteRate) {
        this.voteRate = voteRate;
    }

    public int getWaitingCount() {
        return waitingCount;
    }

    public void setWaitingCount(int waitingCount) {
        this.waitingCount = waitingCount;
    }

    public String getPaymentTypeName() {
        return paymentTypeName;
    }

    public void setPaymentTypeName(String paymentTypeName) {
        this.paymentTypeName = paymentTypeName;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public long getMeshId() {
        return meshId;
    }

    public void setMeshId(long meshId) {
        this.meshId = meshId;
    }

    public String getMeshNum() {
        return meshNum;
    }

    public void setMeshNum(String meshNum) {
        this.meshNum = meshNum;
    }

    public String getMeshType() {
        return meshType;
    }

    public void setMeshType(String meshType) {
        this.meshType = meshType;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public String getSenderPhone() {
        return senderPhone;
    }

    public void setSenderPhone(String senderPhone) {
        this.senderPhone = senderPhone;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getMeshAddress() {
        return meshAddress;
    }

    public void setMeshAddress(String meshAddress) {
        this.meshAddress = meshAddress;
    }

//    public MeshLocationBean getMeshLocation() {
//        return meshLocation;
//    }
//
//    public void setMeshLocation(MeshLocationBean meshLocation) {
//        this.meshLocation = meshLocation;
//    }

    public String getExpectMeter() {
        return expectMeter;
    }

    public void setExpectMeter(String expectMeter) {
        this.expectMeter = expectMeter;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(String cancelTime) {
        this.cancelTime = cancelTime;
    }

    public String getTakeTime() {
        return takeTime;
    }

    public void setTakeTime(String takeTime) {
        this.takeTime = takeTime;
    }

    public String getTakerCarNum() {
        return takerCarNum;
    }

    public void setTakerCarNum(String takerCarNum) {
        this.takerCarNum = takerCarNum;
    }

    public String getTakerUserId() {
        return takerUserId;
    }

    public void setTakerUserId(String takerUserId) {
        this.takerUserId = takerUserId;
    }

    public String getTakerUserName() {
        return takerUserName;
    }

    public void setTakerUserName(String takerUserName) {
        this.takerUserName = takerUserName;
    }

    public String getTakerPhone() {
        return takerPhone;
    }

    public void setTakerPhone(String takerPhone) {
        this.takerPhone = takerPhone;
    }

    public String getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(String arriveTime) {
        this.arriveTime = arriveTime;
    }

    public double getMeter() {
        return meter;
    }

    public void setMeter(double meter) {
        this.meter = meter;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public boolean isPayed() {
        return payed;
    }

    public void setPayed(boolean payed) {
        this.payed = payed;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public int getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(int paymentType) {
        this.paymentType = paymentType;
    }

    public static class MeshLocationBean {
        /**
         * id : null
         * type : null
         * longitude : 120.096259
         * latitude : 30.286505
         * runStatus : null
         */

        private String id;
        private String type;
        private double longitude;
        private double latitude;
        private String runStatus;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public String getRunStatus() {
            return runStatus;
        }

        public void setRunStatus(String runStatus) {
            this.runStatus = runStatus;
        }
    }
}
